package com.stone.framework.batch.model;

import com.stone.framework.batch.entity.CaseAssign;
import com.stone.framework.batch.entity.CaseInfo;
import com.stone.framework.batch.entity.CaseState;

public class CaseAllocResultBO {

  private CaseInfo closedCaseInfo;

  private CaseInfo newCaseInfo;

  private CaseAssign newCaseAssign;

  private CaseAssign closedCaseAssign;

  private CaseState newCaseState;

  private CaseState updateCaseState;

  public CaseAllocResultBO build() {
    CaseAllocResultBO resultBo = new CaseAllocResultBO();
    resultBo.closedCaseInfo = this.closedCaseInfo;
    resultBo.newCaseInfo = this.newCaseInfo;
    resultBo.closedCaseAssign = this.closedCaseAssign;
    resultBo.newCaseAssign = this.newCaseAssign;
    resultBo.newCaseState = this.newCaseState;
    resultBo.updateCaseState = this.updateCaseState;
    return resultBo;
  }

  public CaseInfo getClosedCaseInfo() {
    return closedCaseInfo;
  }

  public CaseAllocResultBO closedCaseInfo(CaseInfo closedCaseInfo) {
    this.closedCaseInfo = closedCaseInfo;
    return this;
  }

  public CaseInfo getNewCaseInfo() {
    return newCaseInfo;
  }

  public CaseAllocResultBO newCaseInfo(CaseInfo newCaseInfo) {
    this.newCaseInfo = newCaseInfo;
    return this;
  }

  public CaseAssign getNewCaseAssign() {
    return newCaseAssign;
  }

  public CaseAllocResultBO newCaseAssign(CaseAssign newCaseAssign) {
    this.newCaseAssign = newCaseAssign;
    return this;
  }

  public CaseAssign getClosedCaseAssign() {
    return closedCaseAssign;
  }

  public CaseAllocResultBO closedCaseAssign(CaseAssign closedCaseAssign) {
    this.closedCaseAssign = closedCaseAssign;
    return this;
  }

  public CaseState getNewCaseState() {
    return newCaseState;
  }

  public CaseAllocResultBO newCaseState(CaseState newCaseState) {
    this.newCaseState = newCaseState;
    return this;
  }

  public CaseState getUpdateCaseState() {
    return updateCaseState;
  }

  public CaseAllocResultBO updateCaseState(CaseState updateCaseState) {
    this.updateCaseState = updateCaseState;
    return this;
  }

}
